package user


type UserLoginModel struct {
	Username string	`json:"username" binding:"required,min=6,max=18"`
	Password string `json:"password" binding:"required,min=6,max=18"`
}

type UserToken struct {
	UserId int
	token  string
}

type UserRegisterModel struct {
	Username string	`json:"username" binding:"required,min=6,max=18"`
	Password string `json:"password" binding:"required,min=6,max=18"`
	Email string `json:"email" binding:"required"`
	Phone string `json:"phone" binding:"required,min=11,max=11""`
}

type UserModelPut struct {
	Password string `json:"password" binding:"required,min=6,max=18"`
	Email string `json:"email" binding:"required"`
	Phone string `json:"phone" binding:"required,min=11,max=11""`
}

//type UserLogout struct{
//	UserID string	`json:"userid" binding:"required"`
//}